//
//  MYHAleartView.h
//  YiBaoStore
//
//  Created by 毛云河 on 2018/11/26.
//  Copyright © 2018 小河. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface MYHAleartView : UIView<UITextFieldDelegate>

@property (copy, nonatomic) void(^sureBlock)(id sender);
@property (copy, nonatomic) void(^moneyBlock)(CGFloat number);
@property (copy, nonatomic) void(^ActivityGoddsBlock)(NSString *promotionPrice,NSString *stock);

@property (nonatomic, assign) NSInteger isExChange;

/*
 *初始化推荐弹框
 */
- (id)initMecommendAlertViewWithMessage:(NSString *)message
                                 fuText:(NSString *)fuText
                           sureBtnTitle:(NSString *)sure
                         cancleBtnTitle:(NSString *)cancle;

/*
 *初始化改价弹框
 */
- (id)initChangPriceWithModel:(MainModel *)model;

/*
 *初始化活动弹框
 *isExChange 1活动商品   2自采商品
 */
- (id)initActivityWithModel:(MainModel *)model isExChange:(NSInteger)isExChange;

/*
 *初始化上架弹框
 */
- (id)initPutShoppingWithModel:(MainModel *)model;


/*
 *展示弹出框
 */
- (void)showAlertView;

@end

NS_ASSUME_NONNULL_END
